package com.zxj.transfer.bank2;

import com.zxj.transfer.orm.dao.TCancelLogMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@SpringBootApplication(scanBasePackages = {"com.zxj.*"})
//@MapperScan(basePackages = {"com.zxj.transfer.orm"})
public class BankTransferBank2Application {

    public static void main(String[] args) {
        SpringApplication.run(BankTransferBank2Application.class, args);
    }

    @Resource
    private TCancelLogMapper cancelLogMapper;

    @RequestMapping("test")
    public Object test() {
        return cancelLogMapper.test();
    }

}
